Skip to main content

mobilePurchaseGet

Type

function

Summary

Returns the value of a property of an in-app purchase.

Syntax

mobilePurchaseGet(<purchaseID>, <propertyName>)

Description

Use the mobilePurchaseGet function to get the value of a property of an in-app purchase.

The mobilePurchaseGet function returns the value of an in-app purchase property.

Parameters

NameTypeDescription

purchaseID

a numeric purchase request identifier.

propertyName

enum

the name of a purchase request property.

Examples

put mobilePurchaseGet(tPurchaseID, "quantity") into tQuantity

command: mobilePurchaseSet, mobileDisablePurchaseUpdates, mobilePurchaseVerify, mobileRestorePurchases, mobilePurchaseSendRequest, mobilePurchaseConfirmDelivery, mobileEnablePurchaseUpdates, mobilePurchaseCreate

function: mobilePurchaseState, mobilePurchaseError, mobileCanMakePurchase, mobilePurchases

message: purchaseStateUpdate

Compatibility and Support

Introduced

LiveCode 5.0.1

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?